package com.example.markingsystem.mapper;

import com.example.markingsystem.bean.externalteacher;
import com.example.markingsystem.bean.graduateinfo;
import com.example.markingsystem.bean.localteacher;
import com.example.markingsystem.bean.user;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BackManagerMapper {
    public List<user> getallcomuser();

    public void deletecomuser(String idcode);

    public void adminaddnewcomuser(String idcode,int identity,int numberuse);

    public boolean findidcodeexit(String idcode);

    public localteacher benxiaogetalladminlook(String idcode);

    public externalteacher waixiaogetalladminlook(String idcode);

    public graduateinfo yanjiugetalladminlook(String idcode);

    public void toupdatenumberuse(String idcode,int numberuse);
}
